//
//  LSVideoScreenshotEditToolBarView.h
//  lightSpot
//
//  Created by lightSpot on 2021.
//  Copyright ©2021年 lightSpot. All rights reserved.
//

#import <UIKit/UIKit.h>

@class LSVideoScreenshotEditToolBarView;

@protocol LSVideoScreenshotEditToolBarViewDelegate <NSObject>
    
- (void)videoScreenshotEditToolBarView:(LSVideoScreenshotEditToolBarView *)view button:(UIButton *)sender;
- (void)videoScreenshotEditToolBarView:(LSVideoScreenshotEditToolBarView *)view sender:(UISlider *)sender;

@end

@interface LSVideoScreenshotEditToolBarView : UIView

@property (nonatomic,weak) id<LSVideoScreenshotEditToolBarViewDelegate> delegate;
@property (weak, nonatomic) IBOutlet UILabel *minLabel;
@property (weak, nonatomic) IBOutlet UILabel *maxLabel;
@property (weak, nonatomic) IBOutlet UISlider *mySlider;

- (void)setData:(id)data delegate:(id)delegate;

+ (id)instanceView;

@end


@interface LSVideoScreenshotEditToolBarViewModel : NSObject

@property (nonatomic,assign) NSInteger mini;
@property (nonatomic,assign) NSInteger max;
@property (nonatomic,assign) NSInteger index;
@property (nonatomic,copy) NSString *duration;

+ (LSVideoScreenshotEditToolBarViewModel *)ittemModelWithMini:(NSInteger)mini max:(NSInteger)max index:(NSInteger)index duration:(NSString *)duration;

@end
